//
//  CourseDummyData.m
//  studip
//
//  Created by anti on 05.07.10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "CourseDummyData.h"


@implementation CourseDummyData

- (CourseModel*) getDummyCourseById:(NSString*) courseId{

	CourseModel* course = [[CourseModel alloc] autorelease];
	
	if ([courseId isEqualToString: @"1"]) {
		course.courseId = courseId;
		course.courseName = @"Designing User Experiences";
		course.courseDescription = @" ";
		course.courseNumber = @"03-05-H-804.6p";
		
		NSArray* times = [NSArray arrayWithObjects:
						  @"Dienstag 09:00 bis 12:00 MZH 5280 (K)",
						  nil];
		course.courseTimes = times;
		
		NSArray* instructors = [NSArray arrayWithObjects: 
								@"Dr.-Ing. Dennis Krannich",
								@"Dr.-Ing. Helge Städtler",
								nil];
		course.courseInstructors = instructors;
		
		NSArray* tutors = [NSArray arrayWithObjects: 
						   nil];		
		course.courseTutors = tutors;
								
	}
	
	return course;
}

-(NSMutableDictionary*) getDummyFilesById:(NSString*) courseId{

	NSMutableDictionary* directories = [[NSMutableDictionary alloc] init];
	
	if ([courseId isEqualToString: @"1"]) {
		
		NSMutableArray* files = [NSMutableArray array];
		FileModel* file = [FileModel alloc];
		file.fileId = @"1";
		file.name = @"Digital Experience Design - Chapter 2 by Linda Leung";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"2";
		file.name = @"MobileHIG_2010";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"3";
		file.name = @"Usability of iPad Apps and Websites";
		file.path = @"---";
		file.size = @"9988 kB";
		file.description = @"Nielsen Norman Group Report: Usability of iPad Apps and Websites - First Research Findings\n\nThis report is based on usability studies with real users, reporting how they actually used a broad variety of iPad \napps as well as websites accessed on the iPad.\n\nWe are making this report available for free to support our loyal audience of usability enthusiasts by providing them\n  with early empirical data about iPad usability. This report is less thorough than our normal research reports and does\nnot contain as many detailed and actionable design guidelines as we usually provide. We decided to publish the \nreport anyway (as a donation to the community) because all experience from the last 30 years of usability shows \nthat early usability findings have disproportionally large impact on design projects.";
		file.realName = @"ipad-usability.pdf";
		[files addObject: file];
		
		[directories setObject: files forKey: @"Material"];
		files = [NSMutableArray array];
		
		file = [FileModel alloc];
		file.fileId = @"4";
		file.name = @"01 - Paper In Screen";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"5";
		file.name = @"2010-05-31-luiseklein-peerteaching-animation";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"6";
		file.name = @"2010-05-31-luiseklein-peerteaching-animationexample";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"7";
		file.name = @"Good Apps vs. no-so-good Apps";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"8";
		file.name = @"memorymanagement.zip";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"9";
		file.name = @"Video & iPhone Presentation";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		[directories setObject: files forKey: @"Show & Tell"];
		files = [NSMutableArray array];
		
		file = [FileModel alloc];
		file.fileId = @"10";
		file.name = @"Session 01 - Introduction";
		file.path = @"---";
		file.size = @"2010 kB";
		file.description = @"Introduction to Mobile Experience Design";
		file.realName = @"due-lecture01.pdf";
		[files addObject: file];
 
		file = [FileModel alloc];
		file.fileId = @"11";
		file.name = @"Session 02 - Designing Interactions - Part 1";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"12";
		file.name = @"Session 03 - Prototyping & Gestalt Laws";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"13";
		file.name = @"Session 06 - Designing Experience - Part 1";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		file = [FileModel alloc];
		file.fileId = @"14";
		file.name = @"Session 08 - Designing Interactions and Experiences";
		file.path = @"---";
		file.size = @"---";
		file.description = @"---";
		file.realName = @"---";
		[files addObject: file];
		
		[directories setObject: files forKey: @"Slides"];

		
	}
	
	return directories;
}

@end
